Initial theme to plugin code migration.