Added prototype code.