Improved rlcompleter to work with classes