support document filtering
fix issue with access to __name__ attr

it breaks help functionality
remove unused import
prepare for new release