Turn loadFacebook into a dependency.