Refactor the Recent D3 Profiles feature