`enabledMap` is undefined and unused, so you can remove this line.