Corrected allocate methods of original classes