added old dependency function to loader context