Added basic functionality to be able to compile robot function from user code.