Implementing put.