Added exists check.