Add support for opacity in data