Removed unnecesaries attributes from sobel class.