Add some type safety to your Ruby methods.