Remvoe legacy documentation
Remove callback support.
Extract super class.
Fix null pointer.