Add access type of group as class to block. (Using generic way to preprocess blocks and avoiding extra container in block)