Only calculate onCreatedOverridden when needed