Consistent do-block syntax
Format and pattern paramter validation