Adding support for transparent layers