Namespaces methods should act on pointer

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Merge pull request #314 from crosbymichael/use-ns-ptr

Namespaces methods should act on pointer