Move method init into try/catch so exceptions are properly propagated.

Closes #460.