Added library handlers, for external processes to embed the library