   io.configure ->
 
     # Hide irrelevant messages
-    io.set "log level", 1
+    io.set 'log level', 1
 
     # Prevent unauthorised access to server
-    io.set "authorization", (handshakeData, fn) ->
+    io.set 'authorization', (handshakeData, fn) ->
       uid = handshakeData.query.uid
       token = handshakeData.query.token
       if DebugMode
-        console.log "Received uid and token", uid
+        console.log 'Received uid and token', uid
       if uid? and token?
         User.checkLoginToken(uid, token).then (exists) ->
           handshakeData.uid = uid

  # Update existing model
  update: (data) =>
    [className, changes] = data
    return unless className in ["List", "Task"]
    id = changes.id

    # Check model exists on server
    if not @hasModel(className, id)
      Log "#{className} doesn't exist on server"


  # Delete existing model
  destroy: ([className, id], timestamp=Date.now()) =>
    return unless className in SUPPORTED_CLASSES
    model = @findModel className, id

    # Check that the model hasn't been updated after this event
