Implode classes array

Closes #8