add define type syntax for single over variable/of type class