Move extensions near use
Control static initialization order