Added method name. Relates to #1
Updated example to take into account prototype version. Relates to #1