The core Profile code, being split up.