add "USE OF DEPRECATED CLASS" to logger for Box and Bin classes