Added deprecated flag and improved returns flag