Added server function.