Removed attempted access of null object.