Remove simulation drawing methods from core and convert them to functions.