Refactoring Bug object to accept a Status object