Revert "Added virtual machines APIs"

This reverts commit 97091ce3543acfe822260c0b560bd1d7692ab3c1.