Updated background page registration to V2.