FIX get, getAll, getByType