[misc] Move deprecated method to legacy