Add dot-syntax support.

It'll be lovely if this library can support dot-syntax :)