Removed deprecated calls.