Instantiate now sets the correct category when a subcomponent is based
on a prototype. It now uses the prototype actual when supplied.