Changed desc property on class to description
Added regex flag for use with pattern.