Remove deprecation warning by replacing send() with status().send()