Added custom attribute for intermediate types.