Added serializable to ID+KEY and fixed checkstyle warnings