Add missing YARD documentation
Add support for Ruby v1.9.x