move deprecated to static properly