Allow profiles to be loaded out of plugins.

Still needs some testing and docs, but what do people think?