api is now a separate package, to structure the whole thing better.
make defined_names public in api.classes, because it is
removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported)