Modded out activation functions to enclose strings.