Add gpg key and make models serializable