Remove deprecated method of using App