Add test for extension method declaration
Allow omitting parameter type hints