Exported methods on database