Reduced code needed by inlining one-line validators