Add some methods to internal repr