Added patterns to register