Fixes Database.Static#getAll not to use the slow TypeReference.