Updated docs, small bug fix