Make @Bean methods package private by default.