Added a class and a example of use.