function init()
{
$_page = $_option = 'pressbooks_theme_options_' . $this->getSlug();
$_section = $this->getSlug() . '_options_section';
if (false == get_option($_option)) {
add_option($_option, $this->defaults);
}
add_settings_section($_section, $this->getTitle(), array($this, 'display'), $_page);
add_settings_field('ebook_paragraph_separation', __('Paragraph Separation', 'pressbooks'), array($this, 'renderParagraphSeparationField'), $_page, $_section, array('indent' => __('Indent paragraphs', 'pressbooks'), 'skiplines' => __('Skip lines between paragraphs', 'pressbooks')));
add_settings_field('ebook_compress_images', __('Compress Images', 'pressbooks'), array($this, 'renderCompressImagesField'), $_page, $_section, array(__('Reduce image size and quality', 'pressbooks')));
register_setting($_option, $_option, array($this, 'sanitize'));
}