maybe suggest here extending or implementing a particular interface or using the ClosureLoader.