Register custom library