Fix IndentationError bug with stubbed static methods