[misc] Fix package
[misc] Move deprecated method to legacy