move generic methods into SizeEditorModel prototype