Cache Element Type in model