applyPathPrefix is applied by getObject