Add function for parsing current namespace.