First draft of resource interface.