Fix for function wrappers.
Added missing copyrights.