Simplifying transclude function