Fixed encoding masks.