Edited: throwing exception for unsupported operation code in Create method of CommandFactory.