Add flags to extension type method compilation