Fixed bug where method was not static.