Revert "External dispenser."

This reverts commit 557a4a3c05c9525e7843572655cffb4323f28ef9.
Use different way to implement custom bean, remove getModFlags from OODBBean using it.
Reduce number of redundant methods.