Disable deprecated errors

Signed-off-by: Darren Ehlers <me@darrenehlers.com>