Move method outside block