Added setOption method to AbstractResourceOwner