Safely declare namespaces and assign things to their properties