Added support for slicing and dot operators.

Dots in if statements still broken.