New Java-based configuration style.
Redesigned Java configuration. (SOCIAL-399)