Fixed entity mapping.
Merge pull request #2 from ninja-hivebots/distributed-lock

Fixed entity mapping.