Helper functions for wconsole wrapping
Fixed misuse of extend and modules so instance variables work