add suppress warnings for @Deprecated.