Add __invoke to the list of allowed magic methods

Resolves #153