Moving private methods only used by spec lint into its class