Fix MetroIde to correspond with Python changes