Added docs and fixed spaces.