[misc] Move deprecated methods to legacy