Adding idiot check to avoid unnecessary work.