Changed deprecated methods