Added two methods for sizing.