Initial attempt at mono version.