wrapper: copy function properties.