Use methods instead of ivars.
Added specs for Uptime (closes #14).