Finished ParseOptOperationType and cleaned up.