I think it'd better best to just throw an Error instead of using a warning here.