Invalid values should not be silently ignored, but should have the declaration be rejected. (Use `return None` to do that.)