/**
  * Used by endpoint to retrieve configuration
  *
  * @return array List of settings.
  */
 public function get_configuration()
 {
     $fields = $this->storage->retrieve();
     $steps = $this->structure->retrieve();
     return array('fields' => $fields, 'steps' => $steps);
 }