Changing the resource creation from InstrospectionModeller reflection to Resource.from().