Use extensions defined in Tools class rather than hard code them.