Added extra check if there are already behaviors set.