Also add X.volume.visible getter since the inject method does not inject getters if a setter was defined.