reuse classes with the same mapping