Make Transform accept a symbol as well as a block