Database API for creating new instance records.