Added status code to locals.