turn PHP notices into either proper static calls, and/or instance methods. Works for me.