Properly handle registration and callbacks for consumes and produces information