A basic version.
make 'modify' as a virtual method.
add scalar.
Add dummy class to test.