Add registering view helper functionality