Moves public API key into module setting.