Removed warning by using concurrent hash map instead of synchronized trait.