Fixed some small issues with undefined parameters. (I thought that some of them inherited.)