Updates on docs and added globals

See commits for more information