make Scalar visible to Lua