Add function to initialize namespace.