Created two function that allow casting in lua.