Copy annotations to wrapper function