Fix warnings in the Reflection runtime.