Began building core of plugin.