Can a single extension (java) be used for both spell checking and proof-reading?

Hello

We are developing Turkish specific language tool extension for LO in Java. We will have code for spell checking and grammar checking (proofreading). However, both functions needs to share substantial amount of code and data. Memory usage will also be quite large. So it would be better to share a single extension for both functions (single JVM, shared models, cache etc.). My question: is it possible to have a single extension that can do both spell checking and proof reading.

I guess I can make a class that implements both spell checking and proofreading interfaces. I will try and see if it works.