Remove class requirement for php extensions