Updated route access and socket module.