Remove deprecated method usage