added several pythonic instance methods