Support shadowed(replaced) function references; Add G_TYPE_X references manually for gtype instances provided by the overrides