Remove profile feature, fixes #1592