Improves readability, fixes missing brackets.