Add ability to override resource initialization