Replace BoundedTaskScheduler with proxy
Fix some reflection warnings