Fixed NPE
Squashed bug of disappearing method body