Added the initialize method in the extension