Changed calls of "require" to "library".