Updated core library to 0.5.13.
Added peer validation on input.