Add some helper methods to Writable to simplify determining content type