Confine data classes in use?