Finished executable class factory with generic type support.