Add support for carousel attribute