fix options so that it's scoped to the class, and add title documentation