Allow :class_name and :defaults flag usage at once