Cache reflection info as much as possible for performance.