Fixed a small bug with a method not being static.