Add registration to apps.
Split out apps.