wp8: refactor extension support