add width()/height(), updated global registration