Added more of the lua c api functions.