Moved stuff to server helpers.