'Provide backward compatibility for previous parameter_group
attribute.'

@property
def parameter_group(self):

    if (len(self.parameter_groups) > 0):
        return self.parameter_groups[(-1)]
    else:
        return None
