Exhibit 10.21 REGISTRATION RIGHTS AGREEMENT Dated as of December 30, 1998 by and between THE WMF GROUP, LTD. as the Company,