Missing setObject in hooks in theme