Fixed peer_ns and added peer_ns parsing code to namepsace.