Add some class extensions for sugar