Adding blocks classes.