Removed unnecessary isMainThread check.
Colon alignment on long method signature