Adding dirty check.