Use array to pass extensions