In my opinion, It would be preferable to use interface in the return value, bur also provide current RebuildParameterPage as a default implementation of interface.