Added blueprint functionality to pkg/dbaccess.