getByName is really deprecated now