Changed all patterns to be more readable.