Make all classes in patched package abstract, miscellaneous cleanup.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>