Remove some hardcode.
Merge pull request #5 from peri18/NODEJS-1751

Remove some hardcode.