Used pure reflection instead of call_user_func to account for classes
using PHP4 style constructors