replaced compile time with runtime mono check.