Renamed class to kernel, argument hash to modules, suppressed last blank line on template