Added missing methods to layout protocol.