Really bad code for single method dictionaries?