Rename some properties and methods in SizeConstraint
Fix warnings