First pass on adding support for transer functions