Fix method names that consist of a single $ sign being converted into nameless static methods