Added yield and renamed hidable to closable