Fixed compiler warning; static method to static inline