Register library