Some skeleton implementation.