Remove legacy library interface