Corrected IDisposible implementations

IDisposible hadn't been correctly implemented in the repositories.