Added management command 'cleardb'.