Add requireParam function, v0.2.9.