Add Compass middleware support