Fixed copyright and removed local-only functions from the namespace