Adding code to be able to load an Operation from a dictionary.