Changed java.io.Serializable types to Any, as they weren't any more narrow or specific