Fix indent and add docs