Refactored the extended PHP statement object.