Add class to pipeline document annotation