Fixed #69 (prototype bug see link in issue)