Moved the render function after the parent call so this.options is available.