Removed deprecated line of code.