Add #on and #off methods for $resourceIO instances