Removed defining 'config' in each method