Edits to BSmooth class