Remove unnecessary extra object check.