Forked from galetahub. See commit history.