Looks like this method and the other setter have almost the exact same implementation. Should refactor to use a single implementation for both methods.