Fix the exception if a method is not defined
Increment version to 0.2.2