 
     getConfig: ->
       config = super()
-      return fixOldConfigurationFormat(config)
+      return @fixOldConfigurationFormat(config)
 
-    writeCollection = (configName,collectionConfig) ->
+    writeCollection: (configName,collectionConfig) ->
       {docpad} = @
       {site} = docpad.getTemplateData()
       feedCollection = docpad.getCollection collectionConfig.collection


    writeAfter: ->
      for own configName,collectionConfig of @getConfig()
        writeCollection configName,collectionConfig

    manage compatibility with previous versions of the plugins
    TODO remove when deprecated
    ###
    fixOldConfigurationFormat: (config) ->
      if config.collection? or config.url?
        #be compatible with previous version
        oldConf =
