Return 'nullptr' instead of 'false' for shared_ptr, add CRLF fix from master