A Fluent API for Input and State Validation