Rolled back changes to character behavior functions.