Added the set/getHeaders functions