Adapts to PresentationCompile API changes