Fixed depricated operation.