Optimize server side.