Use the new OOP API structure.