Fixed a few bugs with registering components. Also changed to support multiple styles.
Updated tests.
Merge pull request #1 from DiversityTemplating/friday-fixes

Fixed a few bugs with registering components.