CreateInstance default parameter may not be found at runtime