Optimize base models.

By adding proxy method to Base class to shorten the code used in formatter.

Signed-off-by: Toha <tohenk@yahoo.com>
Optimize formatters.

Signed-off-by: Toha <tohenk@yahoo.com>