Advices on dynamic object method definition

Closes #39