Adding gpt support.