removed unnecessary requires from diagram controller