Raise error for unexpected method call