Made the parameter that disables weak unnecessary if the weak module is not installed.
Before, dnode's constructor would throw if weak were not installed unless the parameter {weak: false} were passed.