Adds hide/show methods.