Remove some whitespace.
Add isLoading function.