add lib-plugin interaction implementations on library side