Stuffed MC_ functions into a class.