Rewritten in the new mono client module format