added color, color_key and attachment_key classes