add missing libraries and update record type methods