Switched to beberlei/assert for input validation