Improved handling of objects including listing Methods and variables