private function getMigrationClass()
    {
        // Load the configuration for this dataset.
        $config = $this->loadConfig($this->argument('dataset'));

        // Calculate some reference variables.
        $namespace = $config['namespace'];
        $class_name = sprintf('CreateData%sTable', studly_case($this->argument('dataset')));
        $class = sprintf('%s\\%s', $namespace, $class_name);

        // Supplied dataset config file does not exist.
        if (!class_exists($class)) {
            $this->error(sprintf('\'%s\' does not exist.', $class));
            $this->line('');
            $this->line('');

            exit(1);
        }

        return $class;
    }