Fixed returns of createBehavior.