Adds dynamic class storing