Revert "Set optional param default value to undef "
This reverts commit 33c1e64316583cd36b7613e931f5e5b0d8e50570.