Switched PlImage's fields from private to protected