Make hidding behaviour optional.