add some method to Instance class, and implement them.