Ahead-of-time completion