Copy necessary parts of headers.