Fix autocomplete for subclasses

Should fix #78