Moving Lua stuff into Component.