Changed return type to an object

Also updated the help file.