Switch to use contract methods for layout exceptions