Modified ApplicationId to implement Serializable