restrained scope of methods after withInput