Revert "store dependencies as attribute so that it can be dynamically manipulated."

This reverts commit 8022795f9b2cf10821ebcb76725498af77f793a9.