add parse func for apex completions