Bug fixed: self instead of @self.  Doh!