Add symbolic names for MT modes.
Missing parameter specification for *FunctionExists script functions.
Small refactor in BufferPool.