Allow subclasses to add to component mappings; allows components to be i...

...nstantiated elsewhere using platform appropriate methods.

Fix syntax for Java 7.