Add some functions to InvaderVM