Removed the unused patterns