Make a chained interface for any library