Class A uses class B which will be inaccessible after move