Make more methods virtual to improve subclassability.