Removed printStackTrace.