Refactors adding and deleting of laboratory.