removed unused dependencies
removed unused method in Reference
add some docblocks