[#315] Updated documentation, added a better small example