Added skeleton code from Spray