Fix deprecated find_by methods.