This file needs some jsdoc!