Updated methods to match new code for sizing.