Generally these are in different sections of the initialize function (like "properties" and "initialization"), if they are right next to each other I don't see a reason not to do both of those on the same line.