Smarter param handling.