Class member with types