Clean up service provider, extend view in register().