Only init settings api on settings page to avoid overhead. p2