Print out warning message instead of throwing exception if someone calls static metho...