Cleanup of code.
* Fix phpdocs,
* Fix interfaces that blocked extending,
* Reuse new ResourceBundle interfaces,
* Fix fatal errors.