Refactor new schedule post into Schedule factory.