Refactor paren checking in SpaceInside mixin