Remove deprecated methods calls