Adds wallTooClose method