Add convinent put method.