Allowed transformable input inside of controllers.

Allows for various transformations, including primary keys being transformed into stub objects.