Generate proxy with annotation