Use runtime dependency method + take out unused dependencies