Add frame initialization hooks