Added a `print` method to avars