Add a SuppressWarnings annotation to suppress unchecked casts.