A sheet hierarchy must be attached to a display server so as to permit input and output. This is managed by the use of objects known as ports and grafts .