Allow type variable declaration on object methods
Fix lint errors
Merge pull request #76 from gabelevi/method

Allow type parameter declaration on object methods