Extended Slot handling so it now handles instances
Fixed profile application for additional contexts
Authored by: philsp 2013-02-08
Parent: [r1785]
Child: [r1787]