Fleshing out sphere implementation.