Removed a small check on TypeLibrary