Remove serializeable import.
Fixed incorrect Generics implementation.