Updated to use new profile generic interface.