Add checking if an object is disabled before loading it.