Removed implements Serializable as this class is in actual fact not serializable.