Implement lua macros as C functions.
Remove an unused import.