Make RTL-classes more generic