NewFunction call initialize method if exists