Pass ctx as last optional parameter. Fixes #485.
Merge pull request #497 from marco-c/remove_ctx

Pass ctx as last optional parameter in natives