Fixed compile errors in Eclipse that it threw up.