new --enable-profile option, removed unneeded types