Any reason to not define these as functions directly? Might be nicer for debugging.