Changed to extension methods.

Added rectangle touching extension methods.