Added an example and added a package interface.