Added generic helper methods and documented it in README