Improve function binding. Update README.