Moved some drawing commands to their own methods.