require diagrams-1.0
update to work with diagrams-1.0
remove hack that's no longer necessary