Using sandstorm.middleware