Fixed parser & added type resolution and scope checking for This.