Changed constructor from protected to public