Make data prop optional on return data.