Extracted class to its own file.