Inlining for sharing.