Removed rectangle drawing from Graphics class.