Finalized bug fixing for all operations.