Better encapsulation (into nn:normalize() function).