Moved dependencies to header.