Removed extendObject in favor of Entity.setOptions.