Extract eldoc and interaction commands