Added specs to all functions and record-fields