Extract some helper methods to util class
Suggest completion based on methods called before current position