EDN middleware, ajax methods.