@smn Thanks, that's much cleaner. Guess I should've taken a look at the docs :)