Had to remove the getConfig method of VirtualMachine because it conflicts with a Service->isMethodAPropertyRetrieval. Essentially, getConfig was already a method of VirtualMachine because it starts with 'get'. For some reason if I add getConfig literally onto VirtualMachine it always returns null.