Fixing library registration issue.