Added setter methods 

Paul, as discussed, this should help to use the SDK with dependency injection.