Register namespace in hook handler; add docs re: customization

Change-Id: I660368c52d063932f4f23065ce544f18df5357a0