Readded check for object existence.