Things to check when writing a source or sink