Add save method to basekey