add seal, freeze function to Object