Fixed some typos and moved the ServiceProvider storage registration inside to inside of the repository registration.