Removed useless members, and formatted code.