Load resources using generic functions