class constants with dynamic class names