Adding namespace support for compound selectors. Fixes #1