Add support for anonymous inner classes