Initial (very basic) implementation.