Fix active handling.
Remove unneccesary vars types from ReportRecord.
Change database API set --> add.