Added very preliminary API specification