Fixed strict PHP errors and generated schema.php