Cleanup for dependencies