Add #<frame>, #<window> and #<buffer> support