Resolve compilation errors.