Add class for legislation nodes.