Parse method declarations with ? or ! in the name

This already worked for method calls, but not declarations.