Architectural contracts