Remove write from here - will add as a seprate library that can be added.