Adding rdoc to encodable