[WIP] Attempt to handle multiple patterns.