Updates code after latest Mono it seems