enabling dot notation

Hi,

here the pull request regarding #249.

Hope it's ok :)