Adding 'disable' method and tests of it.