Replace deprecated source syntax