added support for registering custom operators