Added prototype class. Fixes #11