Compile with -Xlint:deprecation