Could we supply a more scala idiomatic one, return Option[T] and internally do the decrement if not null?