Reimplemented 'transform' class and derived classes.