Use $this instead of self for proper inheritance