Do not assign recurrence factories to calendars inside the calendar factory.
Remove calls and definition of the addRecurrenceType method as they are no longer required.