added __slots__ to BaseDocument and Document; disabled the get_%s_display feature