Partial implementation.