add clearX, withX methods; rename parse to parseFrom and serialize to toByteArray for compatbility.