Trimmed off now useless functions.