Refactoring assets to use common public path function.