Fix $this for 5.3

Fix for #1