Added registerHandler for module devices. Fixed referencing bug.
Added registerHandler for module devices. Fixed referencing bug.

ninjablocks/client,ninjablocks/client,denwilliams/client,denwilliams/client