Move Profile init into before()