define custom unit types
S4 based unit classes added