Simplified two methods.