Add block class.