Expose hide() Fixes #515, test and document hide and setTemplate