autoclassapi: use dir() to get all members