Formatted indents, fixed minor bugs.

- Source code is formatted to 2-space indents.
- SS_IS_TYPE macro can work now.