Tests written, pending implementation.