Clean up models file