Handle method names with a capital initial.

This is legal ruby even through the method name is a constant
rather than a normal identifier. Fixes #144.