better warnings when code is stupid and calls ->params(undef)