   # See https://docs.recurly.com/api/accounts for XML format
   #
 
-  @fetchAccountDetailsByPaymentMethodId: (paymentMethodId, callback) ->
+  @fetchAccountDetailsByPaymentMethodId = (paymentMethodId, callback) ->
     GET "accounts/#{paymentMethodId}", (err, res) =>
       return callback err  if err
       @fetchPaymentMethodById paymentMethodId, (err, billing) ->
         return callback err  if err
         callback null, new models.Account res[0]?.account, billing
 
-  @setAccountDetailsByPaymentMethodId: (paymentMethodId, data, callback) ->
+  @setAccountDetailsByPaymentMethodId = (paymentMethodId, data, callback) ->
 
     xml =
       """

    POST 'subscriptions', xml, (err, res)->
      callback err, unless err then new models.Subscription res.subscription

  @updateSubscription: (paymentMethodId, data, callback)->
    data.quantity ?= 1
    timeframe      = 'now'


      else
        PUT "accounts/#{paymentMethodId}", xml, callback

  @deleteAccount = (paymentMethodId, callback)->
    DEL "accounts/#{paymentMethodId}", callback

  #
