Optimize references

remove unused assemblies