add magic methods as typehints

so e.g. `phpspec` can mock the dynamically created methods correctly.
second advantage is better autocompletion in IDEs

could you create a tag again once/if merged please?