Implemented some functions for VMBackend.