Adding accessor for the value, improved toString method, supplied by Presnov, Mikhail <mpresnov@mera.ru> and patched by Manfred Moser