Add support for the AlphaMode flag