Fixed protected functions to protected static functions