Fix parameter name on resources service headers function.
Improved inconsistencies on resource service private methods.