Added simple warn() static method