Properly close the method definition

Fixes #86