Revert "First steps towards dependancy checking"

This reverts commit 9be66998084b140f5ca635ba370cbfdc58a39c56.