Applying fix to allow inheritances to be used when loading metadata