Register ender properly (hopefully)