Jonathan Afolabi has now scored in five consecutive games as his double saw Bohemians past a stubborn UCD side.