Changed static reflection builder to be __gshared so it is only run once.