Added created factories in api spec classes