The macro was trying to "parse" the parameters of functions defined in extension trait. This was not needed and it was causing problems around the `self` parameter. In this commit we change the macro to just pass the parameters through.