Added public and private options. This fixes #12