Fixed functions inside named vectors