Updated weights to default to None.\nThis allows the default to be set in a single place and cleans up the code slightly