Seperated speed into common and server code.