Fixed Contract library bug where some contracts were overwriting other with the same name