Expose response headers and cleanup some warnings