Added support to define owner in constructor