Fix indentation. Watch out for tabs!
Remove casts.