Adding single translation unit for multiple classes