handle enum/callback/dictionary, parse more sources