Added methods binding to lib and example