Moved code relating to the management of framework elements into the PresentationFrameworkManager class