Made a statless method a class method. Fixed a warning for iOS 7.1