[misc] Move deprecated methods to legacy
* fix regression in previous commit