Raise a proper AttributeError if method not found
Merge pull request #4042 from dimagi/attribute-error

Raise a proper AttributeError if method not found