Methods for class-slots.