Removed usings and fixed some stylecop nonconformities.