Common PHP things more the OOP way.