Rename the static content type and encoding getters

Make them consistent with the instance getters.