Extracting the internal private methods.