Added properties to access size and origin directly.