Enabling calling private methods internally via configuration setting