Iframes should have an api