move copying extension functions up so onion's extension functions can't be overwritten