Fixing bug with method declarations with no arguments #2