Added initialization methods and 2D rectangle method.