Refactored completion lookup.
Add suggestion functionality to completion lookup.