Static abstract methods not allowed in newer php, need to rewrite