Work around compiler errors