`getAllOfType` is a bit verbose, could probably be shortened to `getAll` without becoming ambiguous.