Calling static functions directly to avoid class scope error