Forced unwrapping of options here seems to cause a lot of problems.