Moved extension.dispatch.table to and environment

This is required for current CRAN policies