Refacoring type transforms.

Moving type transforms to be a config param. Not finalized yet since they may become full transformers.
First attempt on checking if method exists in a cake.