Remove defaultpapername API.

This function is used in some applications, but it's always redundant.