Add generic type to remove compiler warning.