Removed deprecated function call

Fixed. :-)